package com.etc.pojo;

import java.util.List;

public class Area {

    private Integer areaId;
    private String areaName;
    private List<Province> provinceList;

    public Area(Integer areaId, String areaName, List<Province> provinceList) {
        this.areaId = areaId;
        this.areaName = areaName;
        this.provinceList = provinceList;
    }

    public Area() {
    }

    @Override
    public String toString() {
        return "Area{" +
                "areaId=" + areaId +
                ", areaName='" + areaName + '\'' +
                ", provinceList=" + provinceList +
                '}';
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public List<Province> getProvinceList() {
        return provinceList;
    }

    public void setProvinceList(List<Province> provinceList) {
        this.provinceList = provinceList;
    }
}
